﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SAM.Framework.ILicence
{
    /// <summary>
    /// 编码授权信息
    /// </summary>
    public interface ILicenceEscape
    {
        /// <summary>
        /// 根据机器码 + 授权信息 编码成 授权结果对象
        /// </summary>
        /// <param name="machineCodeInfo">机器码</param>
        /// <param name="licenceInfo">授权资料</param>
        /// <returns></returns>
        Models.AuthorizationInfo Escape(Models.MachineCodeInfo machineCodeInfo, Models.LicenceInfo licenceInfo);
    }
}
